import React, { JSX } from 'react';
import './App.css';
import { BrowserRouter } from 'react-router-dom';
import { LocalizationProvider } from '@mui/x-date-pickers';
import { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment';
import NulRouter from './route';

function App(): JSX.Element {
  return (
    <div id='nul-ct-image-recognition'>
      <LocalizationProvider dateAdapter={AdapterMoment}>
        <BrowserRouter>
          <NulRouter />
        </BrowserRouter>
      </LocalizationProvider>
    </div>
  );
}

export default App;
